package com.jyx.designpatterns.template;

public class RailwayStation extends Station {

	@Override
	public void choiceCarriageType() {
		System.out.println("根据乘客的车票为乘客指定列车");
	}

	@Override
	public String getName() {
		return "==========铁路客运站============";
	}

	@Override
	public void safetyExamine() {
		System.out.println("使用危险品检查设备APQW78");
	}

	@Override
	public void validateTicket() {
		System.out.println("大家排队，由检票员按顺序检票，并在票上打孔");
	}

}
